package cn.hy.plugin;

import org.springframework.stereotype.Component;

@Component
public class MyService1 implements MyPlugin {

    @Override
    public String[] handle(String s) {
        return s.split("#");
    }

    @Override
    public boolean supports(String delimiter) {
        return "1".equals(delimiter);
    }
}
